package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.DoGood;

public interface IDoGoodService {

    /**
     * 查询
     * @param doGood
     * @return
     */
    DoGood selectOne(DoGood doGood);

    /**
     * 保存
     * @param doGood
     */
    void saveOne(DoGood doGood);

    /**
     * 删除
     * @param doGood
     */
    void deleteOne(DoGood doGood);

    /**
     * 计数
     * @param doGood
     * @return
     */
    int selectForCount(DoGood doGood);
}
